Determine the value returned by the function.
def round_it(num, places):
rounded = round(num, places)
return rounded
Function Call | Return Value | |||
---|---|---|---|---|
round_it(2.562, 1) | → | |||
round_it(45.3327, 2) | → | |||
round_it(-16.255, 1) | → | |||
round_it(6.5539, 3) | → |
Experiment with this code on Gitpod.io